package cn.farm.farm.Config.Common.CommonDto;

import java.util.List;

public class PageHelperResult<T> {
    private List<T> list;//数据群
    private Integer number;//数据总数
    private String name;//
    private Integer pageNumber;//当前页的数据量大小

    public PageHelperResult() {}

    public PageHelperResult(List<T> list, Integer number) {
        this.list = list;
        this.number = number;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
